# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=rdrview
pkgver=0.1
pkgrel=0
pkgdesc="Command line tool to extract the main content from a webpage"
url="https://github.com/eafer/rdrview"
arch="all"
license="Apache-2.0"
makedepends="libxml2-dev curl-dev libseccomp-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/eafer/rdrview/archive/v$pkgver.tar.gz"
options="!check" # tests are quite involved and have a bunch of requirements

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
6bc5c6be98a19e7ffd90e661cdf1e99e83b7d4ea8d7f436277eaa2eda0d3d5a91971a16895c2ca6d4c188627c99f0def6d86cb4c94837939426ac1004a7659bf  rdrview-0.1.tar.gz
"
